package com.wang.luntan.users.mapper;

import com.wang.luntan.common.service.dao.IBaseDao;
import com.wang.luntan.users.pojo.AtAdmins;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;


@Mapper
public interface IAtAdminsDao extends IBaseDao<AtAdmins> {

    AtAdmins login(Map<String, Object> condMap);


    AtAdmins findOneAdmins(Map<String, Object> condMap);

    /**
     * 重置密码->查询是否存在用户名
     *
     * @param str
     * @return
     */
    AtAdmins findOneByName(String str);
}
